//
//  LMTabBar.h
//  LMTabBarControllerKit
//
//  Created by mengmenglu on 6/25/16.
//  Copyright © 2016 Hangzhou TaiXuan Network Technology Co., Ltd. All rights reserved.
//  自定义TabBar视图

#import <UIKit/UIKit.h>
#import "LMTabBarItem.h"
#define TABBARITEM_HEIGHT 49.f

@class LMTabBar;
@protocol LMTabBarDelegate <NSObject>

- (void)tabBar:(LMTabBar *)tabBar selectedItem:(LMTabBarItem *)selectedItem index:(NSInteger)index;

@end


@interface LMTabBar : UIView

@property (nonatomic, weak) id<LMTabBarDelegate> delegate;

- (void)updateTabBarItemsWith:(NSArray *)tabBarItems;

@end
